UrlMappingsSection Class [IIS 7 and higher]

Represents a <urlMappings> section that contains pairs of inbound/outbound URL mappings.

Syntax

class UrlMappingsSection : ConfigurationSectionWithCollection

Methods

The following table lists the methods exposed by the UrlMappingsSection class.

Name

Description

Add

(Inherited from ConfigurationSectionWithCollection.)

Clear

(Inherited from ConfigurationSectionWithCollection.)

Get

(Inherited from ConfigurationSectionWithCollection.)

GetAllowDefinition

(Inherited from ConfigurationSection.)

GetAllowLocation

(Inherited from ConfigurationSection.)

Remove

(Inherited from ConfigurationSectionWithCollection.)

RevertToParent

(Inherited from ConfigurationSection.)

SetAllowDefinition

(Inherited from ConfigurationSection.)

SetAllowLocation

(Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the UrlMappingsSection class.

Name

Description

Enabled

A read/write boolean value. true if URL mapping is enabled; otherwise, false. The default is true.

Location

(Inherited from ConfigurationSection.) A key property.

Path

(Inherited from ConfigurationSection.) A key property.

SectionInformation

(Inherited from ConfigurationSection.)

UrlMappings

An array of read/write UrlMapping values, each of which contains an inbound display URL and the Web application URL to which the inbound display URL is mapped.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

   ConfigurationSectionWithCollection

      UrlMappingsSection

Requirements

Type

Description

Client

Requires IIS 7 on Windows Vista.

Server

Requires IIS 7 on Windows Server 2008.

Product

IIS 7

MOF file

WebAdministration.mof

See Also

Reference

ConfigurationSectionWithCollection Class [IIS 7 and higher]

UrlMapping Class [IIS 7 and higher]